let arr = [1, 2, 3, 4, 5, 6]

let a = arr.slice(0, 2);
console.log(arr);
